<?php

include dirname( dirname( __FILE__ ) ) . "/system/global.php";
include "install.php";
$method = G( 'a', 'index' );
del_dir( WEBCACHE, false );
del_dir( WEBTPL, false );
del_dir( WEBROOT . 'content/log/', false );
$install = new Install();
$install->$method( $method );